import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/Authority',
  name: 'Authority',
  redirect: '/Authority/list',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: '素材管理',
    icon: 'el-icon-operation',
    sort: 6,
    roles: ['adminSp', 'admin']
  },
  children: [
    {
      path: '/Authority/border',
      name: 'Authorityborder',
      component: () => import('@/views/Authority/border.vue'),
      meta: {
        title: '边框列表',
        icon: 'el-icon-crop'
      }
    },
    {
      path: '/Authority/Picture',
      name: 'AuthorityPicture',
      component: () => import('@/views/Authority/Picture.vue'),
      meta: {
        title: '图片列表',
        icon: 'el-icon-picture'
      }
    }
  ]
} as RouteRecordRaw;
